import { displayTemplate } from '@/config/dict'
export const updateFormItem = (businessCreated = []) => {
  return [
    {
      type: 'select',
      key: 'businessCreated',
      label: '已创业务：',
      col: 24,
      slotAttrs: {
        options: businessCreated,
        style: {
          width: '70%'
        },
        size: 'small'
      }
    },
    {
      type: 'select',
      key: 'displayTemplate',
      label: '显示模板：',
      col: 24,
      slotAttrs: {
        options: displayTemplate,
        style: {
          width: '70%'
        },
        size: 'small'
      }
    }
  ]
}
